using UnityEngine;

namespace VoxelEngine.Utils
{
	public class CoroutineQueueManager : MonoBehaviour
	{
		public static CoroutineQueueManager Instance;

		public CoroutineQueue WaterFlood
		{
			get;
			private set;
		}

		private void Awake()
		{
			Instance = this;
			WaterFlood = new CoroutineQueue(20u, base.StartCoroutine);
		}

		private void OnDestroy()
		{
			Instance = null;
		}
	}
}
